//
//  UIFont+XBAdd.m
//  XBCategoriesDemo
//
//  Created by kevin007 on 2021/4/12.
//

#import "UIFont+XBAdd.h"

@implementation UIFont (XBAdd)
+ (UIFont *)lx_uitraLightFontOfSize:(CGFloat)fontSize{
    return [UIFont systemFontOfSize:fontSize weight:UIFontWeightUltraLight];
}

+ (UIFont *)lx_thinFontOfSize:(CGFloat)fontSize{
    return [UIFont systemFontOfSize:fontSize weight:UIFontWeightThin];
}

+ (UIFont *)lx_lightFontOfSize:(CGFloat)fontSize{
    return [UIFont systemFontOfSize:fontSize weight:UIFontWeightLight];
}

+ (UIFont *)lx_regularFontOfSize:(CGFloat)fontSize{
    return [UIFont systemFontOfSize:fontSize weight:UIFontWeightRegular];
}

+ (UIFont *)lx_mediumFontOfSize:(CGFloat)fontSize{
    return [UIFont systemFontOfSize:fontSize weight:UIFontWeightMedium];
}

+ (UIFont *)lx_boldFontOfSize:(CGFloat)fontSize{
    return [UIFont systemFontOfSize:fontSize weight:UIFontWeightBold];
}

+ (UIFont *)lx_semiboldFontOfSize:(CGFloat)fontSize{
    return [UIFont systemFontOfSize:fontSize weight:UIFontWeightSemibold];
}

+ (UIFont *)lx_heavyFontOfSize:(CGFloat)fontSize{
    return [UIFont systemFontOfSize:fontSize weight:UIFontWeightHeavy];
}

+ (UIFont *)lx_blackFontOfSize:(CGFloat)fontSize{
    return [UIFont systemFontOfSize:fontSize weight:UIFontWeightBlack];
}

/** 萍方-简 正规体*/
+(UIFont *)lx_PingFangSRegular:(CGFloat)fontSize {
    return [UIFont fontWithName:@"PingFangSC-Regular"size:fontSize];
}

/** 字体苹方 中等*/
+(UIFont *)lx_PingFangSMedium:(CGFloat)fontSize {
    return [UIFont fontWithName:@"PingFangSC-Medium"size: fontSize];
}

/** PingFangSC-Semibold*/
+(UIFont *)lx_PingFangSSemibold:(CGFloat)fontSize {
    return [UIFont fontWithName:@"PingFangSC-Semibold"size: fontSize];
}

/** PingFangSC-Thin*/
+(UIFont *)lx_PingFangSThin:(CGFloat)fontSize {
    return [UIFont fontWithName:@"PingFangSC-Thin"size: fontSize];
}

/** PingFangSC-Light*/
+(UIFont *)lx_PingFangSLight:(CGFloat)fontSize {
    return [UIFont fontWithName:@"PingFangSC-Light"size: fontSize];;
}
@end
